🎯Подвох: - Решение работает без глобальных переменных - Используется поведение изменяемых аргументов по умолчанию - Это поведение часто становится причиной багов у новичков — но здесь оно работает на нас
🧠Объяснение подвоха: - Аргумент cache=[] вычисляется один раз, при первом вызове функции - Все последующие вызовы используют один и тот же список - Обычно это считается "ловушкой", но в задачах на замыкание состояния — это полезный трюк
⚠️ Не путай: если внутри функции ты напишешь cache = [], то всё сломается — потому что создастся новый список каждый раз
🎯Подвох: - Решение работает без глобальных переменных - Используется поведение изменяемых аргументов по умолчанию - Это поведение часто становится причиной багов у новичков — но здесь оно работает на нас
🧠Объяснение подвоха: - Аргумент cache=[] вычисляется один раз, при первом вызове функции - Все последующие вызовы используют один и тот же список - Обычно это считается "ловушкой", но в задачах на замыкание состояния — это полезный трюк
⚠️ Не путай: если внутри функции ты напишешь cache = [], то всё сломается — потому что создастся новый список каждый раз
BY Python tests
Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283
Telegram’s stand out feature is its encryption scheme that keeps messages and media secure in transit. The scheme is known as MTProto and is based on 256-bit AES encryption, RSA encryption, and Diffie-Hellman key exchange. The result of this complicated and technical-sounding jargon? A messaging service that claims to keep your data safe.Why do we say claims? When dealing with security, you always want to leave room for scrutiny, and a few cryptography experts have criticized the system. Overall, any level of encryption is better than none, but a level of discretion should always be observed with any online connected system, even Telegram.
That growth environment will include rising inflation and interest rates. Those upward shifts naturally accompany healthy growth periods as the demand for resources, products and services rise. Importantly, the Federal Reserve has laid out the rationale for not interfering with that natural growth transition.It's not exactly a fad, but there is a widespread willingness to pay up for a growth story. Classic fundamental analysis takes a back seat. Even negative earnings are ignored. In fact, positive earnings seem to be a limiting measure, producing the question, "Is that all you've got?" The preference is a vision of untold riches when the exciting story plays out as expected.